package com.lagou.demo.service.impl;

import com.lagou.demo.service.IDemoService;
import com.lagou.edu.mvcframework.annotations.LagouService;

@LagouService("demoService")
public class DemoServiceImpl implements IDemoService {
    @Override
    public String methodAndClassSecurity() {
        return "方法和类都有拦截器";
    }

    @Override
    public String classSecurity() {
        return "类上的拦截器";
    }


}
